<div id="header">
<?php
if(isset($_SESSION['username'])){ ?>
    <div id="top-right">
        <span class="welcome"><?php echo $_SESSION['username']; ?></span>
        <ul>
            <li><?php echo anchor('cmllogin/logout','Log out',array('style'=>'color:rgb(252, 114, 173);')); ?></li>
			<li><?php echo anchor(base_url(),'View Site',array('target'=>'_blank')); ?></li>
        </ul>
    </div>
<?php } ?>
<img width="130" src="<?php echo base_url() ?>media/admin/css/images/header-logo.jpg" style="width:443px;height:81px;" alt="Logo" title="Chamroeun Microfinance Limited" />
</div>